package trlygjj.tanruiliyigenjinjin.mapper;

import trlygjj.tanruiliyigenjinjin.domain.BigClient;
import trlygjj.tanruiliyigenjinjin.query.QueryObject;

import java.util.List;

public interface BigClientMapper {
    void deleteByPrimaryKey(Long id);

    void insert(BigClient record);

    BigClient selectByPrimaryKey(Long id);

    List<BigClient> selectAll();

    void updateByPrimaryKey(BigClient record);

    int queryForCount(QueryObject qo);

    List<BigClient> queryForList(QueryObject qo);

    /**
     * 跟新跟进状态
     * @param bigClient
     */
    void updateFollowState(BigClient bigClient);

    /**
     * 跟新客户状态
     * @param bigClient
     */
    void updateContractState(BigClient bigClient);
}